using System;

namespace EntityAop.Extensions
{
    public static class TypeExtensions
    {
        public static bool IsIList(this Type type)
        {
            if (type.Name == "IList`1" || type.GetInterface("IList`1", true) != null)
            {
                return true;
            }

            return false;
        }
    }
}